<%@ include file="/WEB-INF/jsp/include/head.jsp" %><%@ page language="java" pageEncoding="UTF-8"%>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${locale}">
<head>
    <meta http-equiv="Expires" content="0" /> 
    <meta http-equiv="Pragma" content="No-cache" /> 
    <meta http-equiv="Cahe-Control" content="No-cache" />
    <%@ include file="/WEB-INF/jsp/include/title.jsp" %>
    <%//@ include file="/WEB-INF/jsp/include/common_css.jsp" %>
    <link rel="stylesheet" type="text/css" media="screen" href="<c:url value="/css/sns.css"/>"/>
    <%@ include file="/WEB-INF/jsp/include/common_script.jsp" %>
    <script type="text/javascript">
    //<![CDATA[
    //]]>
    </script>
</head>
<body>
    <div class="blueBar2"></div>
    <div class="container">
        <div class="contentIndex">
            <div class="menubar_container">
		        <div class="fb_menubar">
		            <ul>
		              <li class="fb_menu">
		                <h1 style="font-size: 20px; font-stretch: 50px;">
		                  <a href="../sns/index.do" class="fb_logo_link">GeekSaga IssueManager</a>
		                </h1>
		              </li>
		            </ul>
		        </div>
            </div>
            <div class="signup_bar_container"></div>
            <div class="content">
                <div class="UIFullPage_Container">
                    <div class="login_page_full">
                        <div class="UIRoundedTransparentBox">
                            <div class="UIRoundedTransparentBox_Inner">
                                <div class="UIRoundedTransparentBox_Border">
                                    <div class="UIInterstitialBox_Container">
                                        <div class="title_header">
                                            <h2 class="title_h">IssueManager Login</h2>
                                        </div>
                                        <div class="login_form_container">
		                              <form:form id="frmLogin" method="POST" action="login.do">
		                              <input id="loginType" name="loginType" type="hidden" value="USER" />
		                              <input id="pid" type="hidden" name="pid" value="SAGA" />
		                              <input id="type" type="hidden" name="type" value="issue" />
		                              <div class="loginform">
		                              <div class="form_row">
		                                    <label class="login_form_label" for="userId">이메일 : </label>
		                                    <input id="userId" type='text' name='userId' class="inputtext" />
		                                </div>
		                                <div class="form_row">
		                                    <label class="login_form_label" for="passwd">비밀번호 : </label>
		                                    <input id="passwd" type="password" name="passwd" class="inputtext" />
		                                </div>
		                                <label class="persistent">
		                                    <input id="persistent" type="checkbox" value="Search" class="inputcheckbox2"/>
		                                    <span>로그인 상태 유지</span>
		                                </label>
		                                <div id="buttons" class="form_row">
		                                    <label class="uiButtonConfirm">
		                                        <input type="submit" name="loginButton" value="<spring:message code="button.login"/>"/>
		                                    </label>
		                                </div>
		                                <p class="reset_password form_row">
		                                    <a rel="nofollow" href="#">비밀번호 찾기</a>
		                                </p>
		                              </div>
		                            </form:form>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div id="pageFooter">
            <div id="contentCurve"></div>
            <div id="footerContainer" style="margin-top: 8px; margin-left: 8px; padding-top:6px;">
                GeekSaga @2010
            </div>
        </div>
    </div>
    
    <c:if test="${not empty param.login_error}">
    <div id="msg" class="alertMsg">
        <font color="red"> Your login attempt was not successful, try again.
        <br />
        Reason: <c:out value="${SPRING_SECURITY_LAST_EXCEPTION.message}" />. </font>
    </div>
    </c:if>
</body>
</html>